﻿@model PSTUTemplate.Models.Object.ViewModels.ImageUploadViewModel
@using Microsoft.Web.Helpers;
@{
    ViewBag.Title = "Upload";
}

<h2>
    Upload</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<h2>
    Image Uploader</h2>
@using (Html.BeginForm("Upload", "Profile", FormMethod.Post,
        new { @encType = "multipart/form-data" }))
{           
    <label for="file">
        Filename:</label>
    <input type="file" name="file" id="file" />

    <input type="submit" />
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
